.dian {
    margin-left: -8px;
}

/* 固定高度 */
#network {
    min-height: 730px;
}

.allCountry {
    position: relative;
    width: 100%;
    min-height: 378px;
}

/* english */
.english {
    width: 2rem;
    height: 2rem;
    position: absolute;
    top: 23%;
    left: 14%;
    transform: translate(-50%, -50%);
}

.ripple-container {
    top: 0;
    left: 0rem;
}

.english .hovers {
    width: 17rem;
    height: 2.5rem;
    top: 5px;
    left: 0%;
    display: none;
    z-index: 1;
}

.english .countryIcon1 {
    top: -10%;
    left: -39%;
}

.english:hover .guoqi {
    opacity: 0;
}

.english:hover .hovers {
    display: block;
}

/* faguo */
.faguo {
    width: 3rem;
    height: 1rem;
    position: absolute;
    top: 24%;
    left: 19%;
    transform: translate(-50%, -50%);
}

.ripple-container {
    top: 0;
    left: 0rem;
}

.faguo .hovers {
    width: 14rem;
    height: 2.5rem;
    top: 2.5px;
    left: 0%;
    display: none;
}

.faguo .countryIcon2 {
    top: 37%;
    left: 30%;
}

.faguo:hover .guoqi {
    opacity: 0;
}

.faguo:hover .hovers {
    display: block;
}

/* deguo */
.deguo {
    width: 3rem;
    height: 2rem;
    position: absolute;
    top: 36%;
    left: 14%;
    transform: translate(-50%, -50%);
}

.ripple-container {
    top: 0;
    left: 0rem;
}

.deguo .hovers {
    width: 13rem;
    height: 2.5rem;
    top: -17px;
    left: 27%;
    display: none;
    z-index: 1;
}

.deguo .countryPoint3 {
    top: -31%;
    left: 42%;
}

.deguo .guoqi {
    left: 14%;
}

.deguo:hover .guoqi {
    opacity: 0;
}

.deguo:hover .hovers {
    display: block;
}



/* china */
.china {
    width: 3rem;
    height: 3rem;
    position: absolute;
    top: 45%;
    left: 34.5%;
    transform: translate(-50%, -50%);

    z-index: 2;
}

.ripple-container {
    top: 0;
    left: 0rem;
}

.china .hovers {
    width: 14rem;
    height: 2.5rem;
    top: 5px;
    left: 1rem;
    display: none;
    z-index: 1;
}

.china .countryIcon6 {
    top: 60%;
    left: 1rem;
}

.china:hover .guoqi {
    opacity: 0;
}

.china:hover .hovers {
    display: block;
}


/* malai */
.malai {
    width: 2rem;
    height: 2rem;
    position: absolute;
    top: 68%;
    left: 34%;
    transform: translate(-50%, -50%);
}

.ripple-container {
    top: 0;
    left: 0rem;
}

.malai .hovers {
    width: 14rem;
    height: 2.5rem;
    top: 7.5px;
    left: -6%;
    display: none;
}

.malai .countryIcon4 {
    top: 74%;
    left: 54%;
}

.malai:hover .guoqi {
    opacity: 0;
}

.malai:hover .hovers {
    display: block;
}


/* meiguo */
.meiguo {
    width: 3rem;
    height: 2rem;
    position: absolute;
    top: 46%;
    left: 70%;
    transform: translate(-50%, -50%);
}

.ripple-container {
    top: 0;
    left: 0rem;
}

.meiguo .hovers {
    width: 14rem;
    height: 2.5rem;
    top: -17px;
    left: 27%;
    display: none;
    z-index: 1;
}

.meiguo .countryPoint5 {
    top: -31%;
    left: 42%;
}

.meiguo .guoqi {
    left: 14%;
}

.meiguo:hover .guoqi {
    opacity: 0;
}

.meiguo:hover .hovers {
    display: block;
}

/* nanfei */
.nanfei {
    width: 3rem;
    height: 2rem;
    position: absolute;
    top: 97%;
    left: 16%;
    transform: translate(-50%, -50%);
}


.nanfei .hovers {
    width: 14rem;
    height: 2.5rem;
    top: 4px;
    left: 22%;
    display: none;
    z-index: 1;
}

.nanfei .countryPoint6 {
    top: -31%;
    left: 42%;
}

.nanfei .guoqi {
    width: 63%;
    height: auto;
    left: 14%;

}

.nanfei:hover .guoqi {
    opacity: 0;
}

.nanfei:hover .hovers {
    display: block;
}

/* helan */
.helan {
    width: 2rem;
    height: 1rem;
    position: absolute;
    top: 19%;
    left: 16%;
    transform: translate(-50%, -50%);
}


.helan .hovers {
    width: 14rem;
    height: 2.5rem;
    top: 4px;
    left: 22%;
    display: none;
    z-index: 1;
}

.helan .countryPoint7 {
    top: -31%;
    left: 42%;
}

.helan .guoqi {
    width: 91%;
    height: auto;
    left: 47%;
    top: -55%;
}

.helan:hover .guoqi {
    opacity: 0;
}

.helan:hover .hovers {
    display: block;
}

/* baxi */
.baxi {
    width: 2rem;
    height: 1rem;
    position: absolute;
    top: 81%;
    left: 86%;
    transform: translate(-50%, -50%);
}


.baxi .hovers {
    width: 14rem;
    height: 2.5rem;
    top: -16px;
    left: -9%;
    display: none;
    z-index: 1;
}

.baxi .countryPoint8 {
    top: -31%;
    left: 42%;
}

.baxi .guoqi {
    width: 91%;
    height: auto;
    left: 47%;
    top: -55%;
}

.baxi:hover .guoqi {
    opacity: 0;
}

.baxi:hover .hovers {
    display: block;
}

/* riben */
.riben {
    width: 2rem;
    height: 1rem;
    position: absolute;
    top: 45%;
    left: 43%;
    transform: translate(-50%, -50%);
    z-index: 1
}


.riben .hovers {
    width: 14rem;
    height: 2.5rem;
    top: -10px;
    left: -9%;
    display: none;
    z-index: 1;
}

.riben .countryPoint9 {
    top: -31%;
    left: 42%;
}

.riben .guoqi {
    width: 91%;
    height: auto;
    left: 47%;
    top: -55%;
    z-index: 1;
}

.riben:hover .guoqi {
    opacity: 0;
}

.riben:hover .hovers {
    display: block;
}

/* jianada */
.jianada {
    width: 2rem;
    height: 1rem;
    position: absolute;
    top: 27%;
    left: 67%;
    transform: translate(-50%, -50%);
}


.jianada .hovers {
    width: 14rem;
    height: 2.5rem;
    top: -12px;
    left: -7%;

    display: none;
    z-index: 1;
}

.jianada .countryPoint10 {
    top: -31%;
    left: 42%;
}

.jianada .guoqi {
    width: 91%;
    height: auto;
    left: 47%;
    top: -55%;
}

.jianada:hover .guoqi {
    opacity: 0;
}

.jianada:hover .hovers {
    display: block;
}

/* 蒙古 */
.menggu {
    width: 3rem;
    height: 2rem;
    position: absolute;
    top: 34%;
    left: 35%;
    transform: translate(-50%, -50%);
}

.menggu .hovers {
    width: 14rem;
    height: 2.5rem;
    top: 4px;
    left: 22%;
    display: none;
    z-index: 1;
}

.menggu .countryPoint6 {
    top: -31%;
    left: 42%;
}

.menggu .guoqi {
    width: 63%;
    height: auto;
    left: 14%;

}

.menggu:hover .guoqi {
    opacity: 0;
}

.menggu:hover .hovers {
    display: block;
}
/* 韩国 */
.hanguo {
    width: 1rem;
    height: 1rem;
    position: absolute;
    top: 46%;
    left: 39.5%;
    transform: translate(-50%, -50%);
}

.hanguo .hovers {
    width: 15rem;
    height: 2.5rem;
    top: -9px;
    left: 22%;
    display: none;
    z-index: 1;
}

.hanguo .countryPoint6 {
    top: -31%;
    left: 42%;
}

.hanguo .guoqi {
    width: 197%;
    height: auto;
    left: -16%;

}
.hanguo:hover .guoqi {
    opacity: 0;
}

.hanguo:hover .hovers {
    display: block;
}
/* ------------------- */
.newpage1 {
    max-height: 345px;
    overflow-y: auto;
}

.newpage2 {
    max-height: 420px;
    overflow-y: auto;
}

/* 默认元素全部隐藏 */
.newpage div {
    display: none;
}

.newpage .xianshi {
    display: block;
}

/* 移动端适配：百分比定位 + 中心偏移 */
@media (max-width: 968px) {
    .english {
        top: 24%;
        left: 5%;
    }

    .faguo {
        top: 28%;
        left: 8%;
    }

    .deguo {
        top: 36%;
        left: 3%;
    }

    .china {
        top: 42%;
        left: 34%;
    }

    .malai {
        top: 64%;
        left: 32%;
    }

    .meiguo {
        top: 36%;
        left: 73%;
    }

    .nanfei {
        top: 57%;
        left: 6%;
    }

    .helan {
        top: 33%;
        left: 5%;
    }

    .baxi {
        top: 57%;
        left: 84%;
    }

    .riben {
        top: 45%;
        left: 43%;
    }

    .jianada {
        top: 27%;
        left: 67%;
    }

    .menggu {
        top: 34%;
        left: 35%;
    }



    .countryIcon1,
    .countryIcon2,
    .countryIcon3,
    .countryIcon4,
    .countryIcon5,
    .countryIcon6,
    .countryIcon7 {
        width: 5vw;
        height: auto;
    }
}

@media (max-width: 640px) {
    .english {
        top: 32%;
        left: 6%;
    }

    .faguo {
        top: 33%;
        left: 14%;
    }

    .deguo {
        top: 41%;
        left: 5%;
    }

    .china {
        top: 44%;
        left: 26%;
        width: 2rem;
        height: 2rem;
    }

    .malai {
        top: 50%;
        left: 27%;
    }

    .meiguo {
        top: 45%;
        left: 61%;
    }

    .nanfei {
        top: 61%;
        left: 8%;
    }


    .helan {
        top: 29%;
        left: 7%;
    }

    .baxi {
        top: 57%;
        left: 78%;
    }

    .riben {
        top: 43%;
        left: 37%;
    }

    .jianada {
        top: 35%;
        left: 60%;
    }
    .menggu {
        top: 36%;
        left: 27%;
    }
    .hanguo {
        top: 43%;
        left: 31.5%;
        z-index: 2;
    }
    .hanguo .guoqi {
        left: 50%;
    }




    .countryIcon1,
    .countryIcon2,
    .countryIcon3,
    .countryIcon4,
    .countryIcon5,
    .countryIcon6,
    .countryIcon7 {
        width: 6vw;
        height: auto;
    }
    .china .countryIcon6 {
        top: 26%;
        left: 1rem;
    }
    .china .hovers {
        top: -8px;
        left: 0.8rem;
    }
    .ripple-container{
        display: none;
    }
    .allCountry {
        margin-top: -12%;
        margin-left: 8%;
    }
}

@media (max-width: 430px) {
    .allCountry {
        margin-top: -27%;
        margin-left: 8%;
    }
}
@media (max-width: 391px) {
    .allCountry {
        margin-top: -32%;
        margin-left: 8%;
    }
}


/* span元素跳动动画效果 */
.section-head p span {
    display: inline-block;
    transition: transform 0.3s ease;
}

.section-head p span:hover {
    animation: bounce 0.6s ease;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* 左右切换按钮 */
.country-switch {
    position: absolute;
    top: 483px;
    right: 321px;
    display: flex;
    gap: 27px;
}

.country-switch .icon-btn {
    background: transparent;
    border: 1px solid #0ea5e9;
    color: #0ea5e9;
    padding: 16px 16px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.country-switch .icon-btn:hover {
    background: #0ea5e9;
    color: #fff;
}

/* 左右切换按钮2 */
.country-switch2 {
    position: absolute;
    top: 680px;
    /* right: 321px; */
    display: flex;
    justify-content: space-between;
    gap: 27px;
}

.country-switch2 .icon-btn {
    background: transparent;
    border: 1px solid #0ea5e9;
    color: #0ea5e9;
    padding: 16px 16px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.country-switch2 .icon-btn:hover {
    background: #0ea5e9;
    color: #fff;
}

/* 地图国家点高亮 */
.allCountry>div.active .countryPoint1,
.allCountry>div.active .countryPoint2,
.allCountry>div.active .countryPoint3,
.allCountry>div.active .countryPoint4,
.allCountry>div.active .countryPoint5,
.allCountry>div.active .countryPoint6 {
    color: #0ea5e9;
    transform: scale(1.4);
    transition: all 0.3s ease;
}

.allCountry>div.active .ripple-container .ripple-effect {
    background: rgba(14, 165, 233, 0.4);
}

/* @media (max-width: 640px) {
    .china {
        top: 20%;
     
    }
    .malai {
        top: 30%;
    }
   .meiguo {
        top: 20%;
    }
   .english {
        top: 13%;
    }
    .faguo {
        top: 14%;
    }
   .deguo {
        top: 19%;
    }
   } */


.subscribe-btn {
    background: linear-gradient(45deg, #2a7ec0, #40b4fd);
    color: white;
    border: none;
    font-size: 1.1rem;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;

    gap: 8px;
    padding: 5px 15px;

    margin-top: 10%;
}

@media (max-width: 640px) {
    .subscribe-btn {
        margin-top: 0%;
    }
    /* 调整国家图标位置 */
    .countryIcon1,
    .countryIcon2,
    .countryIcon3,
    .countryIcon4,
    .countryIcon5,
    .countryIcon6,
    .countryIcon7,
    .countryIcon8,
    .countryIcon9,
    .countryIcon10,
    .countryIcon11,
    .countryIcon12 {
      width: 20px !important;
      height: auto !important;
    }

}